let index_fn =async (ctx,next)=>{
    ctx.body = `<h2>首页</h2>`;
}

let inf_fn =async (ctx,next)=>{
    ctx.body = `<h2>用户信息页</h2>`;
}

let hello_fn =async (ctx,next)=>{
    ctx.render('hello.html');
}


module.exports ={
    '/':['get',index_fn],
    '/user/inf':['get',inf_fn],
    '/hello':['get',hello_fn]
}